package com.ssd.entity.operation.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ssd.entity.operation.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_role_user")
@ApiModel(description = "用户角色类")
public class SysRoleUser extends BaseEntity {

    @ApiModelProperty(value = "角色id")
    private Long roleId;       // 角色id
    @ApiModelProperty(value = "用户id")
    private Long userId;       // 用户id

}
